<?php foreach ($this->loginForm->getErrorMessages() as $error): ?>
    <?php var_dump($error)?>
<?php endforeach?>
<?php echo $this->loginForm ?>